home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-08-08 | 3.6 KB | [□□□□/□□□□] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Ultima 6 (music/ultima6)
| ext
| Supported |
1%
| dexvert
| PC-98 Music (music/pc98Music)
| ext
| Unsupported |
1%
| dexvert
| Amiga E Module (other/amigaEModule)
| ext
| Unsupported |
1%
| dexvert
| ECX module (other/ecxModule)
| ext
| Unsupported |
1%
| dexvert
| Maple Common Binary (other/mapleCommonBinary)
| ext
| Unsupported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Aug 8 17:19:35 2002, modified Thu Aug 8 17:19:35 2002, 3110 bytes "TestCase.m" , at 0xca6 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
| |
100%
| librempegprobeID
| NGC (Nintendo DSP Standard) (ngcdspstd)
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [□□□□] |
macFileCreator | [□□□□] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 54 65 73 74 43 61 | 73 65 2e 6d 00 00 00 00 |..TestCa|se.m....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 0c 26 00 | 00 01 1e b9 78 90 e7 b9 |......&.|....x...|
|00000060| 78 90 e7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |x.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6e e1 00 00 |........|....n...|
|00000080| 2f 2a 0a 2a 2a 20 20 54 | 65 73 74 43 61 73 65 2e |/*.** T|estCase.|
|00000090| 6d 0a 2a 2a 0a 2a 2a 20 | 20 54 68 69 73 20 69 73 |m.**.** | This is|
|000000a0| 20 61 20 73 6d 61 6c 6c | 20 61 6e 64 20 73 69 6d | a small| and sim|
|000000b0| 70 6c 65 20 28 62 75 74 | 20 75 73 65 66 75 6c 29 |ple (but| useful)|
|000000c0| 20 74 65 73 74 20 66 72 | 61 6d 65 77 6f 72 6b 2e | test fr|amework.|
|000000d0| 0a 2a 2a 0a 2a 2a 20 20 | 43 6f 70 79 72 69 67 68 |.**.** |Copyrigh|
|000000e0| 74 20 28 63 29 20 32 30 | 30 31 2c 20 32 30 30 32 |t (c) 20|01, 2002|
|000000f0| 0a 2a 2a 0a 2a 2a 20 20 | 41 75 74 68 6f 72 3a 20 |.**.** |Author: |
|00000100| 20 41 6c 65 78 61 6e 64 | 65 72 20 4d 61 6c 6d 62 | Alexand|er Malmb|
|00000110| 65 72 67 20 3c 61 6c 65 | 78 61 6e 64 65 72 40 6d |erg <ale|xander@m|
|00000120| 61 6c 6d 62 65 72 67 2e | 6f 72 67 3e 0a 2a 2a 0a |almberg.|org>.**.|
|00000130| 2a 2a 20 20 54 68 69 73 | 20 6c 69 62 72 61 72 79 |** This| library|
|00000140| 20 69 73 20 66 72 65 65 | 20 73 6f 66 74 77 61 72 | is free| softwar|
|00000150| 65 3b 20 79 6f 75 20 63 | 61 6e 20 72 65 64 69 73 |e; you c|an redis|
|00000160| 74 72 69 62 75 74 65 20 | 69 74 20 61 6e 64 2f 6f |tribute |it and/o|
|00000170| 72 0a 2a 2a 20 20 6d 6f | 64 69 66 79 20 69 74 20 |r.** mo|dify it |
|00000180| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00000190| 6f 66 20 74 68 65 20 47 | 4e 55 20 4c 65 73 73 65 |of the G|NU Lesse|
|000001a0| 72 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |r Genera|l Public|
|000001b0| 0a 2a 2a 20 20 4c 69 63 | 65 6e 73 65 20 61 73 20 |.** Lic|ense as |
|000001c0| 70 75 62 6c 69 73 68 65 | 64 20 62 79 20 74 68 65 |publishe|d by the|
|000001d0| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|000001e0| 6f 75 6e 64 61 74 69 6f | 6e 3b 20 65 69 74 68 65 |oundatio|n; eithe|
|000001f0| 72 0a 2a 2a 20 20 76 65 | 72 73 69 6f 6e 20 32 2e |r.** ve|rsion 2.|
|00000200| 31 20 6f 66 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |1 of the| License|
|00000210| 2c 20 6f 72 20 28 61 74 | 20 79 6f 75 72 20 6f 70 |, or (at| your op|
|00000220| 74 69 6f 6e 29 20 61 6e | 79 20 6c 61 74 65 72 20 |tion) an|y later |
|00000230| 76 65 72 73 69 6f 6e 2e | 0a 2a 2a 20 20 0a 2a 2a |version.|.** .**|
|00000240| 20 20 54 68 69 73 20 6c | 69 62 72 61 72 79 20 69 | This l|ibrary i|
|00000250| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s distri|buted in|
|00000260| 20 74 68 65 20 68 6f 70 | 65 20 74 68 61 74 20 69 | the hop|e that i|
|00000270| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 66 75 6c |t will b|e useful|
|00000280| 2c 0a 2a 2a 20 20 62 75 | 74 20 57 49 54 48 4f 55 |,.** bu|t WITHOU|
|00000290| 54 20 41 4e 59 20 57 41 | 52 52 41 4e 54 59 3b 20 |T ANY WA|RRANTY; |
|000002a0| 77 69 74 68 6f 75 74 20 | 65 76 65 6e 20 74 68 65 |without |even the|
|000002b0| 20 69 6d 70 6c 69 65 64 | 20 77 61 72 72 61 6e 74 | implied| warrant|
|000002c0| 79 20 6f 66 0a 2a 2a 20 | 20 4d 45 52 43 48 41 4e |y of.** | MERCHAN|
|000002d0| 54 41 42 49 4c 49 54 59 | 20 6f 72 20 46 49 54 4e |TABILITY| or FITN|
|000002e0| 45 53 53 20 46 4f 52 20 | 41 20 50 41 52 54 49 43 |ESS FOR |A PARTIC|
|000002f0| 55 4c 41 52 20 50 55 52 | 50 4f 53 45 2e 20 53 65 |ULAR PUR|POSE. Se|
|00000300| 65 20 74 68 65 20 47 4e | 55 0a 2a 2a 20 20 4c 65 |e the GN|U.** Le|
|00000310| 73 73 65 72 20 47 65 6e | 65 72 61 6c 20 50 75 62 |sser Gen|eral Pub|
|00000320| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 66 6f 72 20 |lic Lice|nse for |
|00000330| 6d 6f 72 65 20 64 65 74 | 61 69 6c 73 2e 0a 2a 2a |more det|ails..**|
|00000340| 20 20 0a 2a 2a 20 20 59 | 6f 75 20 73 68 6f 75 6c | .** Y|ou shoul|
|00000350| 64 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |d have r|eceived |
|00000360| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 47 4e |a copy o|f the GN|
|00000370| 55 20 4c 65 73 73 65 72 | 20 47 65 6e 65 72 61 6c |U Lesser| General|
|00000380| 20 50 75 62 6c 69 63 0a | 2a 2a 20 20 4c 69 63 65 | Public.|** Lice|
|00000390| 6e 73 65 20 61 6c 6f 6e | 67 20 77 69 74 68 20 74 |nse alon|g with t|
|000003a0| 68 69 73 20 6c 69 62 72 | 61 72 79 3b 20 69 66 20 |his libr|ary; if |
|000003b0| 6e 6f 74 2c 20 77 72 69 | 74 65 20 74 6f 20 74 68 |not, wri|te to th|
|000003c0| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 0a |e Free S|oftware.|
|000003d0| 2a 2a 20 20 46 6f 75 6e | 64 61 74 69 6f 6e 2c 20 |** Foun|dation, |
|000003e0| 49 6e 63 2e 2c 20 35 39 | 20 54 65 6d 70 6c 65 20 |Inc., 59| Temple |
|000003f0| 50 6c 61 63 65 2c 20 53 | 75 69 74 65 20 33 33 30 |Place, S|uite 330|
|00000400| 2c 20 42 6f 73 74 6f 6e | 2c 20 4d 41 20 30 32 31 |, Boston|, MA 021|
|00000410| 31 31 2d 31 33 30 37 20 | 55 53 41 0a 2a 2f 0a 0a |11-1307 |USA.*/..|
|00000420| 23 69 6e 63 6c 75 64 65 | 20 3c 46 6f 75 6e 64 61 |#include| <Founda|
|00000430| 74 69 6f 6e 2f 4e 53 4f | 62 6a 65 63 74 2e 68 3e |tion/NSO|bject.h>|
|00000440| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 46 6f 75 6e 64 |.#includ|e <Found|
|00000450| 61 74 69 6f 6e 2f 4e 53 | 45 78 63 65 70 74 69 6f |ation/NS|Exceptio|
|00000460| 6e 2e 68 3e 0a 23 69 6e | 63 6c 75 64 65 20 3c 46 |n.h>.#in|clude <F|
|00000470| 6f 75 6e 64 61 74 69 6f | 6e 2f 4e 53 41 75 74 6f |oundatio|n/NSAuto|
|00000480| 72 65 6c 65 61 73 65 50 | 6f 6f 6c 2e 68 3e 0a 23 |releaseP|ool.h>.#|
|00000490| 69 6e 63 6c 75 64 65 20 | 3c 46 6f 75 6e 64 61 74 |include |<Foundat|
|000004a0| 69 6f 6e 2f 4e 53 44 61 | 74 61 2e 68 3e 0a 0a 23 |ion/NSDa|ta.h>..#|
|000004b0| 69 6d 70 6f 72 74 20 3c | 50 61 6e 74 6f 6d 69 6d |import <|Pantomim|
|000004c0| 65 2f 4e 53 44 61 74 61 | 45 78 74 65 6e 73 69 6f |e/NSData|Extensio|
|000004d0| 6e 73 2e 68 3e 0a 0a 23 | 69 6e 63 6c 75 64 65 20 |ns.h>..#|include |
|000004e0| 22 54 65 73 74 43 61 73 | 65 2e 68 22 0a 0a 40 69 |"TestCas|e.h"..@i|
|000004f0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 54 65 |mplement|ation Te|
|00000500| 73 74 43 61 73 65 0a 0a | 2d 20 28 69 64 29 20 69 |stCase..|- (id) i|
|00000510| 6e 69 74 57 69 74 68 4e | 61 6d 65 3a 20 28 63 6f |nitWithN|ame: (co|
|00000520| 6e 73 74 20 63 68 61 72 | 20 2a 29 6e 0a 7b 0a 20 |nst char| *)n.{. |
|00000530| 20 73 65 6c 66 20 3d 20 | 5b 73 75 70 65 72 20 69 | self = |[super i|
|00000540| 6e 69 74 5d 3b 0a 20 20 | 6e 61 6d 65 20 3d 20 6e |nit];. |name = n|
|00000550| 3b 0a 20 20 0a 20 20 73 | 65 6c 20 3d 20 47 53 53 |;. . s|el = GSS|
|00000560| 65 6c 65 63 74 6f 72 46 | 72 6f 6d 4e 61 6d 65 28 |electorF|romName(|
|00000570| 6e 29 3b 0a 0a 20 20 69 | 66 20 28 20 21 73 65 6c |n);.. i|f ( !sel|
|00000580| 20 29 0a 20 20 20 20 7b | 0a 20 20 20 20 20 20 52 | ). {|. R|
|00000590| 45 4c 45 41 53 45 28 73 | 65 6c 66 29 3b 0a 20 20 |ELEASE(s|elf);. |
|000005a0| 20 20 20 20 72 65 74 75 | 72 6e 20 6e 69 6c 3b 0a | retu|rn nil;.|
|000005b0| 20 20 20 20 7d 0a 20 20 | 0a 20 20 72 65 74 75 72 | }. |. retur|
|000005c0| 6e 20 73 65 6c 66 3b 0a | 7d 0a 0a 2d 28 76 6f 69 |n self;.|}..-(voi|
|000005d0| 64 29 20 72 75 6e 54 65 | 73 74 0a 7b 0a 09 5b 73 |d) runTe|st.{..[s|
|000005e0| 65 6c 66 20 70 65 72 66 | 6f 72 6d 53 65 6c 65 63 |elf perf|ormSelec|
|000005f0| 74 6f 72 3a 20 73 65 6c | 5d 3b 0a 7d 0a 0a 0a 2b |tor: sel|];.}...+|
|00000600| 28 76 6f 69 64 29 20 72 | 75 6e 54 65 73 74 57 69 |(void) r|unTestWi|
|00000610| 74 68 4e 61 6d 65 3a 20 | 28 63 6f 6e 73 74 20 63 |thName: |(const c|
|00000620| 68 61 72 20 2a 29 6e 0a | 7b 0a 20 20 43 52 45 41 |har *)n.|{. CREA|
|00000630| 54 45 5f 41 55 54 4f 52 | 45 4c 45 41 53 45 5f 50 |TE_AUTOR|ELEASE_P|
|00000640| 4f 4f 4c 28 61 72 70 29 | 3b 0a 20 20 54 65 73 74 |OOL(arp)|;. Test|
|00000650| 43 61 73 65 20 2a 74 3d | 5b 5b 73 65 6c 66 20 61 |Case *t=|[[self a|
|00000660| 6c 6c 6f 63 5d 20 69 6e | 69 74 57 69 74 68 4e 61 |lloc] in|itWithNa|
|00000670| 6d 65 3a 20 6e 5d 3b 0a | 20 20 0a 20 20 4e 53 5f |me: n];.| . NS_|
|00000680| 44 55 52 49 4e 47 0a 20 | 20 20 20 7b 0a 20 20 20 |DURING. | {. |
|00000690| 20 20 20 5b 74 20 72 75 | 6e 54 65 73 74 5d 3b 0a | [t ru|nTest];.|
|000006a0| 20 20 20 20 7d 0a 20 20 | 4e 53 5f 48 41 4e 44 4c | }. |NS_HANDL|
|000006b0| 45 52 0a 20 20 20 20 7b | 0a 20 20 20 20 20 20 4e |ER. {|. N|
|000006c0| 53 44 65 62 75 67 4c 6f | 67 28 40 22 43 61 75 67 |SDebugLo|g(@"Caug|
|000006d0| 68 74 20 65 78 63 65 70 | 74 69 6f 6e 20 64 75 72 |ht excep|tion dur|
|000006e0| 69 6e 67 20 27 25 73 27 | 5c 6e 22 2c 20 6e 29 3b |ing '%s'|\n", n);|
|000006f0| 0a 20 20 20 20 20 20 4e | 53 44 65 62 75 67 4c 6f |. N|SDebugLo|
|00000700| 67 28 40 22 65 3d 27 25 | 40 27 5c 6e 22 2c 20 6c |g(@"e='%|@'\n", l|
|00000710| 6f 63 61 6c 45 78 63 65 | 70 74 69 6f 6e 29 3b 0a |ocalExce|ption);.|
|00000720| 20 20 20 20 7d 0a 20 20 | 4e 53 5f 45 4e 44 48 41 | }. |NS_ENDHA|
|00000730| 4e 44 4c 45 52 0a 20 20 | 20 20 0a 20 20 44 45 53 |NDLER. | . DES|
|00000740| 54 52 4f 59 28 61 72 70 | 29 3b 0a 7d 0a 0a 0a 0a |TROY(arp|);.}....|
|00000750| 2d 28 76 6f 69 64 29 20 | 6f 62 6a 65 63 74 49 73 |-(void) |objectIs|
|00000760| 4b 69 6e 64 4f 66 3a 20 | 28 43 6c 61 73 73 29 63 |KindOf: |(Class)c|
|00000770| 20 3a 20 28 69 64 29 6f | 0a 7b 0a 09 69 66 20 28 | : (id)o|.{..if (|
|00000780| 21 6f 29 0a 09 09 5b 4e | 53 45 78 63 65 70 74 69 |!o)...[N|SExcepti|
|00000790| 6f 6e 0a 09 09 09 72 61 | 69 73 65 3a 20 40 22 6f |on....ra|ise: @"o|
|000007a0| 62 6a 65 63 74 49 73 4b | 69 6e 64 4f 66 22 0a 09 |bjectIsK|indOf"..|
|000007b0| 09 09 66 6f 72 6d 61 74 | 3a 20 40 22 67 6f 74 3d |..format|: @"got=|
|000007c0| 3d 6e 69 6c 22 5d 3b 0a | 0a 09 69 66 20 28 21 5b |=nil"];.|..if (![|
|000007d0| 6f 20 69 73 4b 69 6e 64 | 4f 66 3a 20 63 5d 29 0a |o isKind|Of: c]).|
|000007e0| 09 09 5b 4e 53 45 78 63 | 65 70 74 69 6f 6e 0a 09 |..[NSExc|eption..|
|000007f0| 09 09 72 61 69 73 65 3a | 20 40 22 6f 62 6a 65 63 |..raise:| @"objec|
|00000800| 74 49 73 4b 69 6e 64 4f | 66 22 0a 09 09 09 66 6f |tIsKindO|f"....fo|
|00000810| 72 6d 61 74 3a 20 40 22 | 65 78 70 65 63 74 65 64 |rmat: @"|expected|
|00000820| 20 27 25 73 27 2c 20 67 | 6f 74 20 27 25 73 27 22 | '%s', g|ot '%s'"|
|00000830| 2c 63 2d 3e 6e 61 6d 65 | 2c 5b 63 20 63 6c 61 73 |,c->name|,[c clas|
|00000840| 73 5d 2d 3e 6e 61 6d 65 | 5d 3b 0a 7d 0a 0a 0a 2d |s]->name|];.}...-|
|00000850| 28 76 6f 69 64 29 20 65 | 71 75 61 6c 49 6e 74 3a |(void) e|qualInt:|
|00000860| 20 28 69 6e 74 29 65 78 | 70 65 63 74 65 64 20 3a | (int)ex|pected :|
|00000870| 20 28 69 6e 74 29 67 6f | 74 0a 7b 0a 09 5b 73 65 | (int)go|t.{..[se|
|00000880| 6c 66 20 65 71 75 61 6c | 49 6e 74 3a 20 65 78 70 |lf equal|Int: exp|
|00000890| 65 63 74 65 64 20 3a 20 | 67 6f 74 20 20 6d 73 67 |ected : |got msg|
|000008a0| 3a 20 6e 69 6c 5d 3b 0a | 7d 0a 2d 28 76 6f 69 64 |: nil];.|}.-(void|
|000008b0| 29 20 65 71 75 61 6c 49 | 6e 74 3a 20 28 69 6e 74 |) equalI|nt: (int|
|000008c0| 29 65 78 70 65 63 74 65 | 64 20 3a 20 28 69 6e 74 |)expecte|d : (int|
|000008d0| 29 67 6f 74 20 20 6d 73 | 67 3a 20 28 4e 53 53 74 |)got ms|g: (NSSt|
|000008e0| 72 69 6e 67 20 2a 29 6d | 73 67 0a 7b 0a 09 69 66 |ring *)m|sg.{..if|
|000008f0| 20 28 65 78 70 65 63 74 | 65 64 21 3d 67 6f 74 29 | (expect|ed!=got)|
|00000900| 0a 09 09 5b 4e 53 45 78 | 63 65 70 74 69 6f 6e 0a |...[NSEx|ception.|
|00000910| 09 09 09 72 61 69 73 65 | 3a 20 40 22 65 71 75 61 |...raise|: @"equa|
|00000920| 6c 49 6e 74 22 0a 09 09 | 09 66 6f 72 6d 61 74 3a |lInt"...|.format:|
|00000930| 20 40 22 65 78 70 65 63 | 74 65 64 20 27 25 69 27 | @"expec|ted '%i'|
|00000940| 2c 20 67 6f 74 20 27 25 | 69 27 2e 20 6d 73 67 3d |, got '%|i'. msg=|
|00000950| 27 25 40 27 22 2c 65 78 | 70 65 63 74 65 64 2c 67 |'%@'",ex|pected,g|
|00000960| 6f 74 2c 6d 73 67 5d 3b | 0a 7d 0a 0a 2d 28 76 6f |ot,msg];|.}..-(vo|
|00000970| 69 64 29 20 65 71 75 61 | 6c 55 6e 69 63 68 61 72 |id) equa|lUnichar|
|00000980| 3a 20 28 75 6e 69 63 68 | 61 72 29 65 78 70 65 63 |: (unich|ar)expec|
|00000990| 74 65 64 20 3a 20 28 75 | 6e 69 63 68 61 72 29 67 |ted : (u|nichar)g|
|000009a0| 6f 74 0a 7b 0a 7d 0a 2d | 28 76 6f 69 64 29 20 65 |ot.{.}.-|(void) e|
|000009b0| 71 75 61 6c 55 6e 69 63 | 68 61 72 3a 20 28 75 6e |qualUnic|har: (un|
|000009c0| 69 63 68 61 72 29 65 78 | 70 65 63 74 65 64 20 3a |ichar)ex|pected :|
|000009d0| 20 28 75 6e 69 63 68 61 | 72 29 67 6f 74 20 20 6d | (unicha|r)got m|
|000009e0| 73 67 3a 20 28 4e 53 53 | 74 72 69 6e 67 20 2a 29 |sg: (NSS|tring *)|
|000009f0| 6d 73 67 0a 7b 0a 09 69 | 66 20 28 65 78 70 65 63 |msg.{..i|f (expec|
|00000a00| 74 65 64 21 3d 67 6f 74 | 29 0a 09 09 5b 4e 53 45 |ted!=got|)...[NSE|
|00000a10| 78 63 65 70 74 69 6f 6e | 0a 09 09 09 72 61 69 73 |xception|....rais|
|00000a20| 65 3a 20 40 22 65 71 75 | 61 6c 49 6e 74 22 0a 09 |e: @"equ|alInt"..|
|00000a30| 09 09 66 6f 72 6d 61 74 | 3a 20 40 22 65 78 70 65 |..format|: @"expe|
|00000a40| 63 74 65 64 20 27 25 30 | 34 78 27 2c 20 67 6f 74 |cted '%0|4x', got|
|00000a50| 20 27 25 30 34 78 27 2e | 20 6d 73 67 3d 27 25 40 | '%04x'.| msg='%@|
|00000a60| 27 22 2c 65 78 70 65 63 | 74 65 64 2c 67 6f 74 2c |'",expec|ted,got,|
|00000a70| 6d 73 67 5d 3b 0a 7d 0a | 0a 2d 28 76 6f 69 64 29 |msg];.}.|.-(void)|
|00000a80| 20 65 71 75 61 6c 53 74 | 72 69 6e 67 3a 20 28 4e | equalSt|ring: (N|
|00000a90| 53 53 74 72 69 6e 67 20 | 2a 29 65 78 70 65 63 74 |SString |*)expect|
|00000aa0| 65 64 20 3a 20 28 4e 53 | 53 74 72 69 6e 67 20 2a |ed : (NS|String *|
|00000ab0| 29 67 6f 74 0a 7b 0a 09 | 69 66 20 28 21 67 6f 74 |)got.{..|if (!got|
|00000ac0| 29 0a 09 09 5b 4e 53 45 | 78 63 65 70 74 69 6f 6e |)...[NSE|xception|
|00000ad0| 0a 09 09 09 72 61 69 73 | 65 3a 20 40 22 65 71 75 |....rais|e: @"equ|
|00000ae0| 61 6c 53 74 72 69 6e 67 | 22 0a 09 09 09 66 6f 72 |alString|"....for|
|00000af0| 6d 61 74 3a 20 40 22 67 | 6f 74 3d 3d 6e 69 6c 22 |mat: @"g|ot==nil"|
|00000b00| 5d 3b 0a 0a 09 69 66 20 | 28 21 5b 65 78 70 65 63 |];...if |(![expec|
|00000b10| 74 65 64 20 69 73 45 71 | 75 61 6c 3a 20 67 6f 74 |ted isEq|ual: got|
|00000b20| 5d 29 0a 09 09 5b 4e 53 | 45 78 63 65 70 74 69 6f |])...[NS|Exceptio|
|00000b30| 6e 0a 09 09 09 72 61 69 | 73 65 3a 20 40 22 65 71 |n....rai|se: @"eq|
|00000b40| 75 61 6c 53 74 72 69 6e | 67 22 0a 09 09 09 66 6f |ualStrin|g"....fo|
|00000b50| 72 6d 61 74 3a 20 40 22 | 65 78 70 65 63 74 65 64 |rmat: @"|expected|
|00000b60| 20 27 25 40 27 2c 20 67 | 6f 74 20 27 25 40 27 22 | '%@', g|ot '%@'"|
|00000b70| 2c 65 78 70 65 63 74 65 | 64 2c 67 6f 74 5d 3b 0a |,expecte|d,got];.|
|00000b80| 7d 0a 0a 2d 28 76 6f 69 | 64 29 20 65 71 75 61 6c |}..-(voi|d) equal|
|00000b90| 44 61 74 61 3a 20 28 4e | 53 44 61 74 61 20 2a 29 |Data: (N|SData *)|
|00000ba0| 65 78 70 65 63 74 65 64 | 20 3a 20 28 4e 53 44 61 |expected| : (NSDa|
|00000bb0| 74 61 20 2a 29 67 6f 74 | 0a 7b 0a 09 69 66 20 28 |ta *)got|.{..if (|
|00000bc0| 21 67 6f 74 29 0a 09 09 | 5b 4e 53 45 78 63 65 70 |!got)...|[NSExcep|
|00000bd0| 74 69 6f 6e 0a 09 09 09 | 72 61 69 73 65 3a 20 40 |tion....|raise: @|
|00000be0| 22 65 71 75 61 6c 44 61 | 74 61 22 0a 09 09 09 66 |"equalDa|ta"....f|
|00000bf0| 6f 72 6d 61 74 3a 20 40 | 22 67 6f 74 3d 3d 6e 69 |ormat: @|"got==ni|
|00000c00| 6c 22 5d 3b 0a 0a 09 69 | 66 20 28 21 5b 65 78 70 |l"];...i|f (![exp|
|00000c10| 65 63 74 65 64 20 69 73 | 45 71 75 61 6c 3a 20 67 |ected is|Equal: g|
|00000c20| 6f 74 5d 29 0a 09 09 5b | 4e 53 45 78 63 65 70 74 |ot])...[|NSExcept|
|00000c30| 69 6f 6e 0a 09 09 09 72 | 61 69 73 65 3a 20 40 22 |ion....r|aise: @"|
|00000c40| 65 71 75 61 6c 44 61 74 | 61 22 0a 09 09 09 66 6f |equalDat|a"....fo|
|00000c50| 72 6d 61 74 3a 20 40 22 | 65 78 70 65 63 74 65 64 |rmat: @"|expected|
|00000c60| 3a 5c 6e 7c 7c 25 73 7c | 7c 5c 6e 67 6f 74 3a 5c |:\n||%s|||\ngot:\|
|00000c70| 6e 7c 7c 25 73 7c 7c 22 | 2c 5b 65 78 70 65 63 74 |n||%s||"|,[expect|
|00000c80| 65 64 20 63 53 74 72 69 | 6e 67 5d 2c 5b 67 6f 74 |ed cStri|ng],[got|
|00000c90| 20 63 53 74 72 69 6e 67 | 5d 5d 3b 0a 7d 0a 0a 0a | cString|]];.}...|
|00000ca0| 40 65 6e 64 0a 0a 00 00 | 00 00 00 00 00 00 00 00 |@end....|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000d10| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000d20| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000d30| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+